using OnePiece.Ui.Controls.UI;

namespace OnePiece.Ui.Controls
{
    /// <summary>
    /// Class used by the HTML helpers to build HTML tags for message box.
    /// </summary>
    public class GridSearchBuilder : ViewComponentBuilderBase<GridSearch, GridSearchBuilder>, IHideObjectMembers
    {
        public GridSearchBuilder(GridSearch component)
            : base(component)
        {
        }


        public virtual GridSearchBuilder IsMultipleSearch(bool value)
        {
            Component.IsMultipleSearch = value;
            return this;
        }



        /// <summary>
        /// Specify the name of the theme apply to the message box.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <returns></returns>
        public virtual GridSearchBuilder Theme(string name)
        {
            Component.Theme = name;

            return this;
        }
    }
}